import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'

import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
    base: './', //项目根路径
    plugins: [
        vue(),
    ],
    resolve: {
        //配置路径名
        alias: {
            '@': path.resolve(__dirname, 'src')
        }
    }
})
